//
//  CMDBWorksAttributeBean.swift
//  CMDB
//
//  Created by 王磊 on 17/4/11.
//  Copyright © 2017年 CMDB. All rights reserved.
//

import UIKit

class CMDBWorksAttributeBean: NSObject {
    
    var aid: String = "" /*属性id*/
    
    var name: String = "" /* 属性名称*/
    
    var hasBoxOffiice: String = "" /*是否有票房 */
    
    var boxOffiice: Bool {
        
        return hasBoxOffiice == "1" ? true : false
    }
    
    var hasEpisodes: String = "" /*是否有集数 */
    
    var episodes: Bool {
        
        return hasEpisodes == "1" ? true : false
    }
    
    var hasDuration: String = "" /*是否有片长 */
    
    var duration: Bool {
        
        return hasDuration == "1" ? true : false
    }
    
    var sort: String = "" /*排序 */
    
    
}
